home *** CD-ROM | disk | FTP | other *** search
- This is the README file for the Amiga port of the calc package.
-
- 1. INSTALLATION
-
- Sorry, no Install script. But, installation is really trivial.
- Just unarchive and put the directory anywhere you want. Now you have
- two options:
-
- 1. Add a an Assign to your User-Startup:
-
- Assign CALCDIR: DH1:Applications/Calc (or whatever)
-
- 2. Set up Environment variables as shown below.
-
- Then move the calc executable to a directory in your path or add
- CALCDIR: to your path.
-
- If you don't want the source code cluttering up your disk, just delete
- the 'source' directory.
-
- 2. DIFFERENCES
-
- The Amiga port is almost identical to the original UNIX version, without
- requiring ixemul.library. The original input line history and editing stuff
- was removed. If you use KingCON is supplies all these services anyway.
-
- An environment variable was added for the help directory.
-
- A new function was added called chkabort(). It takes no arguements and
- just checks to see if CTRL-C was pressed, and if so it exits the program.
- This was added because otherwise the CTRL-C check is only performed
- when doing I/O. This means that there is no way to stop the program if
- it is in the middle of a long loop. The solution: if you have a loop
- if indeterminate length that does no I/O, call this function in the loop
- to check for CTRL-C.
-
- 3. ENVIRONMENT VARIABLES
-
- Calc checks for the following environment variables. If they don't
- exist, the indicated defaults are used.
-
- Variable Use Default
- -------- ------------------------------ ---------------
- CALCPATH colon-separated list of ";CALCDIR:lib/"
- dirs to search for input files
- CALCRC colon-separated list of files "CALCDIR:lib/startup;S:.calcrc"
- to load on startup
- CALCHELP dir containing help files "CALCDIR:help/"
- PAGER program to see help files "more"
-
- 4. BUGS
-
- The program doesn't react gracefully when asked to provide help for which
- there is no on-line help file. This behaviour is dependant on the pager
- you specify in the PAGER environment variable.
-
- The program is compiled without support for a math coprocessor since I don't
- have one. I'll compile one for anyone who asks, but I can't debug it if it
- has problems. Sorry.
-
- No Installer script.
-
- Not much Amiga-specific documentation
-
- 5. DOCUMENTATION
-
- There is a formatted man page in this directory, modified with Amiga-
- specific information. There are also README files in the lib and source
- directories. Finally, there is online help in the help directory.
-
- 6. CLOSING
-
- The original source code can be obtained from
- ftp://ftp.uu.net/pub/calc/
-
- Please don't hesitate to send me email if you have questions or suggestions
- about the port. I'll maintain this for my own satisfaction but no more
- than that, unless dozens of people write in to tell me that ther're using
- calc.
-
- The following tools were used to port this program:
- FrexxEd 1.10
- SAS/C 5.10
- BDebug 1.682
-
- --
- +---------------------------------------------------------------------------+
- | Steve Leblanc | He softly and silently vanished away, |
- | lupus@CAM.ORG | For the Snark _was_ a Boojum, you see. Lewis Carroll |
- +---------------------------------------------------------------------------+
-
-